cask 'easytether' do
  version '16'
  sha256 '9dfeab61429d4ed65ddf25727e4e0857b45d52b7ab4c2e909dd3e20bca9b17c3'

  url "http://www.mobile-stream.com/beta/darwin/easytether-yosemite-b#{version}.pkg"
  appcast 'http://www.mobile-stream.com/easytether/drivers.html'
  name 'EasyTether'
  homepage 'http://www.mobile-stream.com/easytether/'

  depends_on macos: '>= :yosemite'

  pkg "easytether-yosemite-b#{version}.pkg"

  uninstall pkgutil:   'com.mobile-stream.pkg.EasyTether',
            launchctl: 'com.mobile-stream.easytether-usb'
end
